<template>
	<view class="content">
		<web-view src="/hybrid/html/local.html" @message="handleMsg"></web-view>
	</view>
</template>

<script>
	export default {
		data(){
			return{
				
			}
		},
		methods: {
			handleMsg(evt) {
				console.log('接收到的消息：' + JSON.stringify(evt.detail.data));
			},
		}
	}
</script>

<style lang="scss" scoped>
	.content{
		min-height: 100vh;
		background-color: #FFFFFF;
		// padding-top: var(--status-bar-height);
	}
</style>
